﻿using System.Threading.Tasks;
using LiJ.Common.Core;
using LiJ.Common.Core.Utils;
using Sample.Test.Models;

namespace Sample.Test.DAO
{
    public class SampleService
    {
        private readonly static ISampleRepository repository = InsContainer<ISampleRepository>.Instance;

        public async Task<PageListMo<SampleModel>> GetList()
        {
            return await repository.GetList();
        }
    }
}